package com.xiaomei.manager.web.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;



import com.xiaomei.manager.service.IOrderService;
import com.xiaomei.manager.web.dto.req.DayCompleteDto;
import com.xiaomei.manager.web.dto.req.QuantityDto;
import com.xiaomei.manager.web.page.Page;


@Controller
@RequestMapping("/daycomplete")
public class DayCompleteController {
	@Autowired
	private IOrderService IOrderService;
	@RequiresPermissions("daycomplete:view")
	@RequestMapping()
	public String list(Model model,Page<DayCompleteDto> page) {
		IOrderService.getDayComplete(page);
		model.addAttribute("page", page);
		return "bite/daycomplete";
	}
}
